package ar.edu.caece.compiler.error;

import java.util.List;

import ar.edu.caece.compiler.grammar.NonTerminalSymbol;
import ar.edu.caece.compiler.symbol.TerminalSymbol;

public class Error {

	private TerminalSymbol received;
	
	private NonTerminalSymbol leftNonTerminal;
	
	private List<TerminalSymbol> expected;
	
	private String description;
	
	public Error() {
	}

	@Override
	public String toString() {
		return "Error=[" + received + ", description=\"" + description + "\"]";
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}
}